window.addEvent('domready', function() {
	
	var status = {
		'true': 'open',
		'false': 'close'
	};

	
	myVerticalSlide = new Fx.Slide('vertical_slide');
	//myVerticalSlide.set('myVerticalSlide', {});
	//myVerticalSlide = myVerticalSlide.get('myVerticalSlide');

	$('v_slidein').addEvent('click', function(e){
		e.stop();
		myVerticalSlide.slideIn();
	});

	$('v_slideout').addEvent('click', function(e){
		e.stop();
		myVerticalSlide.slideOut();
	});

	$('v_toggle').addEvent('click', function(e){
		e.stop();
		myVerticalSlide.toggle();
	});

	myVerticalSlide.addEvent('complete', function() {
		$('vertical_status').set('html', status[myVerticalSlide.open]);
	});



	
	var myVerticalSlideList = new Fx.Slide('vertical_slideList');
	
	$('v_slideinList').addEvent('click', function(e){
		e.stop();
		myVerticalSlideList.slideIn();
	});

	$('v_slideoutList').addEvent('click', function(e){
		e.stop();
		myVerticalSlideList.slideOut();
	});

	$('v_toggleList').addEvent('click', function(e){
		e.stop();
		myVerticalSlideList.toggle();
	});
	
	myVerticalSlideList.addEvent('complete', function() {
		$('vertical_statusList').set('html', status[myVerticalSlideList.open]);
	});

});